package eteam.aps.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @author LiuLei
 */
@ApiModel(value = "Produce", description = "领料")
public class Produce {

    public Produce() {
    }

    public Produce(String invCode, String batch, BigDecimal qty, String whCode) {
        this.invCode = invCode;
        this.batch = batch;
        this.qty = qty;
        this.whCode = whCode;
    }

    @ApiModelProperty("物料编号")
    private String invCode;

    @ApiModelProperty("批号")
    private String batch;

    @ApiModelProperty("数量")
    private BigDecimal qty;

    @ApiModelProperty("仓库编号")
    private String whCode;


    public String getInvCode() {
        return invCode;
    }

    public void setInvCode(String invCode) {
        this.invCode = invCode;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public String getWhCode() {
        return whCode;
    }

    public void setWhCode(String whCode) {
        this.whCode = whCode;
    }

}
